<ion-view title="密码修改">
    <ion-content overflow-scroll="true"  padding="true" class="has-header">
        <form class="list" name="form" ng-submit="submit()" novalidate>
            <ion-list>
                <label class="item item-input" name="username">
                    <span class="input-label">原密码</span>
                    <input type="password" placeholder="请输入原密码" bsy-form-validate="passwordErrorTips"   ng-model="user.password" required>
                </label>


                <label class="item item-input" name="password">
                    <span class="input-label">密 码</span>
                    <input type="password" placeholder="请输入新密码" ng-model="user.newPassword" bsy-form-validate="newPasswordErrorTips" required>
                </label>
                <label class="item item-input" name="password">
                    <span class="input-label">确认密码</span>
                    <input type="password" placeholder="请输入新密确认码" ng-model="user.confirmNewPassword" bsy-form-validate="confirmNewPasswordErrorTips" required>
                </label>

            </ion-list>
            <div class="spacer" style="height: 40px;"></div>
            <button class="button button-positive button-block " check-form >修改</button>
        </form>
    </ion-content>
</ion-view>
